<script>
import Aside from "@/admin/Aside.vue";
import Header from "@/student/studentHead.vue";
export default {
  name: 'indexPage',
  components: {
    Aside,
    Header,
  }
}
</script>

<template>
  <div class="all">
    <el-container>
      <el-header>
        <Header>
      </Header>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <Aside></Aside>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>

</template>

<style scoped>
.el-header {
  overflow: hidden;
  background-color: #a4c6f5;
  color: #333;
  text-align: center;
  line-height: 60px;
  height:100%
}

.el-aside {
  overflow: hidden;
  height: 100vh;
  color: #333;
  text-align: center;

}

.el-main {
  background-color: #ecf5ff;
  color: #333;
  text-align: center;
}

</style>